package org.baizhiedu.proxy.a;

import org.baizhiedu.Log;
import org.baizhiedu.proxy.User;

/**
 * ClassName: UserServiceImpl
 * Description:
 * Date: 2022/11/21 AM 11:46:58
 * <p>
 * project: spring5
 * package: org.baizhiedu.proxy
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public class UserServiceImpl implements UserService {

    @Log
    @Override
    public void register(User user) {
        System.out.println("UserServiceImpl.register 业务运算 + DAO ");
        //throw new RuntimeException("测试异常");
    }

    @Log
    @Override
    public boolean login(String name, String password) {
        System.out.println("UserServiceImpl.login");
        return true;
    }
}
